/*******************************************************************
 * Created Wed Feb 15 11:48:10 2012 by Tuxedo V8.0-01 (C++ Bindings)
 *******************************************************************
 */

/*
 * Skeleton include file: (ppm_s.h)
 * ----------------------------------------------------------------
 *
 * This module contains definitions and prototypes for the skeleton
 * classes for the following interfaces:
 *
 *    IPpm_i
 *    PpmFactory_i

 *
 */
#ifndef _ppm_s_h
#define _ppm_s_h

#include <string.h>
#include "orbminor.h"
#include <Tobj_ServantBase.h>

#include "ppm_c.h"

namespace POA_Ppm
{
    class IPpm : public Tobj_ServantBase 
    {
        public:

            virtual ::CORBA::Short saveBasicAttrTree (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryBasicAttrTree (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short saveTempSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryTempSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short saveApplicationCatalog (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryApplicationCatalog (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short saveApplicationInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryApplicationInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short createTask (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryTask (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short createProcOrd (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryProcOrd (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short operatePPMOrder (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryPPMOrderOperation (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryFlowInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short createApplicationCode (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short operateDir (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short operateCfgRelation (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryCfgRelation (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short querySysCfgTree (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short operateCatalogPermission (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryCatalogPermission (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short operateStaffPermission (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryStaffPermission (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryAppVersionList (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryPpmPriceDescItemSpecTree (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short getPpmPriceRemark (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short querySimilitudeAndMutexTree (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryOperatorByCatalogId (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryTaskBySimilitudeAndMutex (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short operateFlowTimeRecord (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryLogInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short operaterLogInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryFlowTimeRecord (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short modifyTaskLevel (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryContactAppListByAppCode (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryAttrSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short saveAttrSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryMktResource (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryTemplateBasicInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryAppAndTestTraining (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short userAndIncomeThresholdConfig (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short filterApplicationInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryThresholdConfig (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short Statistics (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short querySPInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryInterfaceInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short operateInterSendInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryPricePlan (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short singleSignOn (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryTeamInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short saveAccessoriesRela (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryAccessoriesRela (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short savePriceTemplate (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short queryPriceTemplate (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short ProdConfigCompleteSV (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short VAProdSV (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short VAProdOfferSV (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short GroupProdReleaseSV (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short GroupProdOfferReleaseSV (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short pubSendInterFace (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short procMdseRela (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short dispatchPPMOrder (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            virtual ::CORBA::Short mdseComposition (
                const char * str_inxml,
                ::CORBA::String_out str_outxml) = 0; 

            ::Ppm::IPpm_ptr _this();

            void invoke (::CORBA::ServerRequest_ptr _nasreq);

            ::CORBA::RepositoryId _primary_interface (
            const PortableServer::ObjectId &,
                PortableServer::POA_ptr);

        protected:
            virtual ~IPpm(){ }

        private:
            OBBArgument *getparams (::CORBA::Short, OBB::ServerRequest * SrvReq, ::CORBA::ULong & ArgCnt);

    };
    class PpmFactory : public Tobj_ServantBase 
    {
        public:

            virtual ::Ppm::IPpm_ptr findIPpm () = 0; 

            ::Ppm::PpmFactory_ptr _this();

            void invoke (::CORBA::ServerRequest_ptr _nasreq);

            ::CORBA::RepositoryId _primary_interface (
            const PortableServer::ObjectId &,
                PortableServer::POA_ptr);

        protected:
            virtual ~PpmFactory(){ }

        private:
            OBBArgument *getparams (::CORBA::Short, OBB::ServerRequest * SrvReq, ::CORBA::ULong & ArgCnt);

    };
}

#endif
